package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 渠成用户身份验证方式枚举
 *
 * @author QuCheng Tech
 * @create 2023/1/11
 */
@Getter
@AllArgsConstructor
public enum QCAuthValidateMethodEnum {
    UN_DEFINE(0, "未定义"),
    PWD(1, "账号密码"),//采用账号密码验证，账号为用户名或手机
    SMS(2, "短信验证"),
    THIRD(3, "第三方验证");

    @EnumValue
    private int index;
    private String name;
}
